home *** CD-ROM | disk | FTP | other *** search
/ EuroCD 3 / EuroCD 3.iso / Rexx / AnswerHookExample.stfax < prev    next >
Text File  |  1998-06-24  |  245b  |  16 lines

  1. /*
  2.     This is an example of answer hook.
  3.  
  4.     It uses fax2ps to print every fax you receive to your
  5.     PostScript printer.
  6. */
  7.  
  8. Options Results
  9.  
  10. 'GETLASTRECEIVED'
  11. Fax = result
  12.  
  13. Address Command 'STFax:Contributions/fax2ps "'Fax'" >PAR:'
  14.  
  15. Exit 0
  16.